/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/',
    component: () => import('@/views/layouts/base'),
    redirect: '/auth',
    meta: {
      title: '授权',
      keepAlive: false
    },
    children: [
      {
        path: '/auth',
        name: 'auth',
        component: () => import('@/wxPage/auth/index.vue'),
        meta: { title: '数据授权加载中...', keepAlive: false, index: 1 },

      },

      {
        path: '/memberCenter',
        name: 'memberCenter',
        component: () => import('@/wxPage/member/memberCenter.vue'),
        meta: { title: '会员中心', keepAlive: false, index: 1 },
      },

      {
        path: '/login',
        name: 'login',
        component: () => import('@/wxPage/login/index.vue'),
        meta: { title: '绑定', keepAlive: false, index: 1 },
      },

      {
        path: '/archives',
        name: 'archives',
        component: () => import('@/wxPage/menu/archives.vue'),
        meta: { title: '我的档案', keepAlive: false, index: 1 },
      },

      {
        path: '/bill',
        name: 'bill',
        component: () => import('@/wxPage/menu/bill.vue'),
        meta: { title: '账单明细', keepAlive: false, index: 1 },
      },

      {
        path: '/physical',
        name: 'physical',
        component: () => import('@/wxPage/menu/physical/physical.vue'),
        meta: { title: '体检报告', keepAlive: false, index: 1 },
      },
      {
        path: '/reportDetail',
        name: 'reportDetail',
        component: () => import('@/wxPage/menu/physical/detail.vue'),
        meta: { title: '体检报告', keepAlive: false, index: 1 },
      },

      {
        path: '/mysteryCustomer',
        name: 'mysteryCustomer',
        component: () => import('@/wxPage/menu/mysteryCustomer.vue'),
        meta: { title: '神秘顾客', keepAlive: false, index: 1 },
      },

      {
        path: '/noninvasive',
        name: 'noninvasive',
        component: () => import('@/wxPage/noninvasive/index.vue'),
        meta: { title: '在线预约', keepAlive: false, index: 1 },
      },



      {
        path: '/preferenceItems',
        name: 'preferenceItems',
        component: () => import('@/wxPage/preferenceItems/index.vue'),
        meta: { title: '在线预约', keepAlive: false, index: 1 },
      },

      {
        path: '/submitPreference',
        name: 'submitPreference',
        component: () => import('@/wxPage/preferenceItems/info/index.vue'),
        meta: { title: '在线预约', keepAlive: false, index: 1 },
      },

      {
        path: '/giftCheck',
        name: 'giftCheck',
        component: () => import('@/wxPage/menu/giftCheck/index.vue'),
        meta: { title: '礼品登记', keepAlive: false, index: 1 },
      },
      {
        path: '/giftCode',
        name: 'giftCode',
        component: () => import('@/wxPage/menu/giftCheck/code.vue'),
        meta: { title: '礼品二维码', keepAlive: false, index: 1 },
      }
    ]
  }
]
